#include "DL_CM.h"

CM_STATE_TYPE CM_STATE;

void Init_CM(void){
    CM_STATE=CM_Inactive_0;
}

void Event_CH_Conf_ACTIVE(void){
    if(CM_STATE==CM_Inactive_0){
        CM_STATE=CM_Idle_1;
    }
}

void Event_CH_Conf_INACTIVE(void){
    if(CM_STATE==CM_Idle_1){
        CM_STATE=CM_Inactive_0;
    }
}